import { BasicColumn } from '@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    {
      title: '消息类型',
      dataIndex: 'typeName',
      width: 150,
    },
    {
      title: '模板名称',
      dataIndex: 'sceneName',
      width: 100,
    },
    {
      title: '模板code',
      dataIndex: 'sceneCode',
      width: 200,
    },
    {
      title: '公众号模板',
      dataIndex: 'displayContent',
      width: 300,
      slots: { customRender: 'displayContent' },
    },
    {
      title: '最后更新时间',
      dataIndex: 'updateTime',
      width: 160,
    },
    {
      title: '创建人',
      width: 60,
    },
  ];
}
